/**
 * Friendly Interactive Recursion Educator (FIRE)
 * COMS 4115: Programming Languages & Translators
 * Prof. Aho
 * 
 * @author Brian Lu
 * @author Sahar Hasan
 * @author Steve Hehl
 * @author Tristan Naumann
 * @version 2009-05-12
 */
package fire;

/**
 * ListTypeSymbol is a class which has it's subtype (which could
 * also be of type ListTypeSymbol for nested lists) as it's type.
 */
public class ListTypeSymbol extends Symbol {

	private ListTypeSymbol (Symbol subtype) {

		super("list", subtype);		// Creates new instance of Symbol
	}
	
	public static Symbol instance (Symbol subtype) {
		return new ListTypeSymbol(subtype);
	}
}
